sequence

fun <E, A> Either<E, Iterable<A>>.sequence(): List<Either<E, A>>(source)
fun <E, A> Either<E, Option<A>>.sequence(): Option<Either<E, A>>(source)